﻿if exists (select * from sysobjects where name like N'%sp_DMDonViTinh_Update%')
	drop proc sp_DMDonViTinh_Update
go
create proc sp_DMDonViTinh_Update
	@MaDonViTinh int = null,	
	@TenDonViTinh nvarchar(50) = null,
	@IsUse bit = null,
	@CreateBy int = null,
	@ModifiedBy int = null,
	@ModifiedOn datetime = null
as
begin
	update DMDonViTinh
	set TenDonViTinh = @TenDonViTinh,
		IsUse = @IsUse,
		ModifiedBy = @ModifiedBy,
		ModifiedOn = @ModifiedOn
	where MaDonViTinh = @MaDonViTinh
end